package com.yunxin.core.infra.common.page.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-07-17
 */
@Getter
public enum PageComponentTypeEnum implements IBaseEnum<Integer> {

    /**
     * 组件类型 1-头部产品, 2-icon, 3-胶囊, 4-BD, 5-产品列表
     */
    PRODUCT_TITLE(1, "头部产品"),

    ICON(2, "icon"),

    CAPSULE(3, "胶囊"),

    BD(4, "BD"),

    PRODUCT_LIST(5, "产品列表"),

    POPUP_WINDOW(6, "弹窗"),

    FLOATING_WINDOW(7, "悬浮窗"),
    ;

    private final Integer value;

    private final String label;

    PageComponentTypeEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
